package com.yugao.fintech.antelope.base.model.module.auth;

import com.yugao.fintech.antelope.base.model.constants.OAuth2Cons;


public interface TokenClaimsKeys {
    /**
     * 刷新token和访问令牌都拥有
     */
    String LOGIN_ID = "loginId";
    String OPEN_ID = "openId";
    String USER_ID = "userId";
    String GRANT_TYPE = "grantType";

    /**
     * 刷新token和访问令牌都拥有
     */
    String CLIENT_ID = "clientId";

    String USER_NAME = "userName";
    String SCOPES = "scopes";
    /**
     * token类型
     * @see OAuth2Cons.TokenType
     */
    String TOKEN_TYPE = "tokenType";

    /**
     * 颁发时间, 同时也保证token的多变性
     */
    String ISSUED_AT = "issuedAt";
}
